package com.nwcl.basic.service;


import com.nwcl.basic.bo.OrdersDetailBO;

import java.util.List;
import java.util.Map;

public interface OrdersDetailService {
    /*
     * @Description:  保存订单详情
     * @Author liguiqin
     * @Date 2023/5/29 14:03
     * @param: ordersDetailBO
     * @return void
     * @UpdateDate 2023/5/29 14:03
     **/
    void save(OrdersDetailBO ordersDetailBO);

    /*
     * @Description:根据订单id查询订单详情
     * @Author liguiqin
     * @Date 2023/5/29 14:03
     * @param: orderIds
     * @return java.util.List<com.nwcl.basic.bo.OrdersDetailBO>
     * @UpdateDate 2023/5/29 14:03
     **/
    List<OrdersDetailBO> listByOrderIds(List<Integer> orderIds);

    /*
     * @Description:根据订单id查询订单详情
     * @Author liguiqin
     * @Date 2023/5/29 14:03
     * @param: orderIds
     * @return java.util.Map<java.lang.Integer,java.util.List<com.nwcl.basic.bo.OrdersDetailBO>>
     * @UpdateDate 2023/5/29 14:03
     **/
    Map<Integer, List<OrdersDetailBO>> mapByOrderIds(List<Integer> orderIds);
}




